<template>
  <div class="error-page">
    <img src="../../assets/images/404.png" />
    <p>抱歉！您访问的页面走丢了……</p>
    <el-button type="success" @click="goHome">返回首页</el-button>
  </div>
</template>

<script>
import Http from "../../libs/http.js";
import router from "../../router/index.js";
export default {
  name: "error404",
  data() {
    return {};
  },
  methods: {
    goHome() {
      this.$router.push({ path: "/index" });
    }
  }
};
</script>

<style scoped>
.error-page {
  background: #f5f5f5;
  height: 100%;
}
img{
  padding-top: 30px;
}
p {
  color: #666;
  margin: 60px 0 20px;
}
</style>

